package com.joysuch.wwyt.risk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.core.bean.SimpleListBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel(value = "风险评估显示")
public class RiskEvaluationBusinessShowBean implements Serializable {

    @ApiModelProperty("风险评估id")
    private Long id;

    @ApiModelProperty("风险区域id")
    private Long riskDistrictId;

    @ApiModelProperty("风险区域名称")
    private String riskDistrictName;

    @ApiModelProperty("风险区域编号")
    private String riskDistrictCode;

    @ApiModelProperty("区域风险等级")
    private Integer riskLevel;

    @ApiModelProperty("区域风险等级名称")
    private String riskLevelName;

    @ApiModelProperty("责任单位id")
    private Long responsibleDepartId;

    @ApiModelProperty("责任单位名称")
    private String responsibleDepartName;

    //取区域负责人
    @ApiModelProperty("负责人名称")
    private List<SimpleListBean> responsibleUseBeanList;

    @ApiModelProperty("评估人id集合")
    private List<Long> evaluationUserIds;

    @ApiModelProperty("评估人名称集合")
    private List<SimpleListBean> evaluationUserBeanList;

    @ApiModelProperty("评估单位id")
    private Long evaluationDepartId;

    @ApiModelProperty("评估单位名称")
    private String evaluationDepartName;

    @ApiModelProperty("区域固有评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date evaluationDate;

    @ApiModelProperty("区域评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date districtEvaluationDate;

    @ApiModelProperty("等级校正id集合")
    private List<Long> ruleIdJson;

    @ApiModelProperty("风险区域固有风险评价")
    private RiskStableEvalutionBean riskStableEvalutionBean;

    @ApiModelProperty("风险区域固有风险评价等级")
    private Integer stableRiskLevel;

    @ApiModelProperty("风险区域固有风险评价等级名称")
    private String stableRiskLevelName;

    @ApiModelProperty("风险区域实时值")
    private Integer realTimeRiskLevel;
    private String realTimeRiskLevelName;

    @ApiModelProperty("是否有风险点评估")
    private boolean pointEvalFlag;
}
